package com.estun.backroundManagementService.modules.position.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 工位表
 * </p>
 *
 * @author machine
 * @since 2023-02-02
 */
@Data
@ApiModel(value="PositionParam对象", description="新增工位入参")
public class PositionParam {

    @NotEmpty
    @ApiModelProperty(value = "工位名称")
    private String name;

    @NotEmpty
    @ApiModelProperty(value = "工站描述")
    private String remark;

    @NotNull
    @ApiModelProperty(value = "生产线编号")
    private Long productLineId;

    @NotNull
    @ApiModelProperty(value = "工站编号")
    private String stationId;

}
